Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(files_sharing): Open single-file-share by default #47841

Merged
merged 2 commits into from
Sep 9, 2024

Conversation

susnux
Copy link
Contributor

@susnux susnux commented Sep 9, 2024

Summary

Bring back the behavior that single file shares open the viewer by default.
We can not use a redirect like internally, so we need to adjust the route in the front end by checking if it is a single-file-share and if yes request the files app to open it.

Checklist

@susnux susnux added this to the Nextcloud 31 milestone Sep 9, 2024
Copy link
Member

@mejo- mejo- left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice, tested and works well. Thanks for fixing this straight away ❤️

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
@mejo-
Copy link
Member

mejo- commented Sep 9, 2024

/compile

Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
@mejo- mejo- enabled auto-merge September 9, 2024 14:42
@mejo- mejo- merged commit 0e4438f into master Sep 9, 2024
174 checks passed
@mejo- mejo- deleted the fix/files-sharing-openfile branch September 9, 2024 14:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants